]> dgit.raspbian.org Git - gnome-shell.git/commit
status/network: Update indicator icon on connectivity changes
authorAntoine Lassagne <antoine.lassagne@canonical.com>
Fri, 10 Oct 2025 12:55:40 +0000 (14:55 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 24 Nov 2025 13:42:59 +0000 (14:42 +0100)
commitef52dbfee20f3da50a80ff3a6966daeee551160f
tree0df81c9ad7bc2c1b39c9dd8f47f3f7b2239cb3fa
parent618e330d927deb3c28fc8b62e10242ca40abc011
status/network: Update indicator icon on connectivity changes

When there is no active main connection or it uses a device type we do
not handle, the indicator icon and its visibility depend on the global
connectivity.

However we currently don't update the icon on connectivity changes,
with the result that we sometimes show the fallback connection icon
when the network is in fact disconnected.

To fix this, update the icon whenever the (global) connectivity changes.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7357
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8549
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3910>
(cherry picked from commit a999193c06ad91a40d9eae5f01c2ccaf9455c227)
js/ui/status/network.js